﻿using System.Collections; 
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
using MT_ToolKit;

public class ui_sum : MonoBehaviour
{
    
    void Start()
    {
        transform.Find("btn_jia").GetComponent<Button>().onClick.AddListener(OnClickAdd);
    }

    void OnClickAdd()
    {
        Debug.Log("店家");
        string str = "传递消息";
        EventManager.Instance.Emit("创建Cube", (object)str);
    }

}
